<template>
    <div class="register">
        <van-nav-bar
            title="商城注册"
            left-arrow
            @click-left="onClickLeft"
            />
        <router-view></router-view>
    </div>
</template>

<script>
import Vue from 'vue'
import { NavBar } from 'vant'

Vue.use(NavBar)
export default {
  methods: {
    onClickLeft () {
      this.$router.back()
    }
  }
}
</script>

<style>

</style>
